package com.cskaoyan.day01.link;

/**
 * 双向链表的结点
 * @author stone
 * @date 2022/01/27 11:20
 */
public class DbNode {
    String value;
    DbNode pre; //指针域
    DbNode next; //指针域

    public DbNode(String value) {
        this.value = value;
    }

    public DbNode(String value, DbNode pre, DbNode next) {
        this.value = value;
        this.pre = pre;
        this.next = next;
    }
}
